package cate.game.role.res.guild.po.basic;

import easy.java.dev.note.NoteClass;
import easy.java.dev.note.NoteField;

@NoteClass(value = "旗帜")
public class GuildBanner {
    @NoteField(value = "旗帜图案")
    public int patternId;

    @NoteField(value = "旗帜颜色")
    public int backgroundId;

    public GuildBanner(int pattern, int background) {
        setBanner(pattern,background);
    }

    public GuildBanner() {
    }

    public void setBanner(int patternId,int backgroundId){
        this.patternId = patternId;
        this.backgroundId = backgroundId;
    }

    public GuildBanner copy() {
        GuildBanner cp = new GuildBanner();
        cp.patternId = this.patternId;
        cp.backgroundId = this.backgroundId;
        return cp;
    }
}
